﻿using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc;
using WebApplication1.Models;

namespace WebApplication1.Controllers
{
    public class HomeController : AbpController //控制器必须继承 AbpController
    {

        private readonly IUserService _userService;
        public HomeController(IUserService userService)  {
            _userService = userService;
        }

        public IActionResult Index()
        {
            return Content(_userService.GetName("c52c1c0e110146c2b785ab2800fff2f0"));
        }

    }
}
